﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Site.master" AutoEventWireup="true" CodeFile="WIN24_1S.aspx.cs" Inherits="IFRS_WIN24_1S" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
<link href="../Content/plugins/jquery-ui/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" />
 <script type="text/javascript">

     window.SetValueFeeAndCostType = function (Value1, Value2) {
         document.getElementById("<%= hidFeeAndCostType.ClientID %>").value = Value1;
         document.getElementById("<%= txtFeeAndCostType.ClientID %>").value = Value2;
     }


    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="container-custom">
        <div class="table_master">
            <fieldset class="fsStandard" style="padding-bottom: 5px;">
                <legend>
                    <asp:Label ID="lblTopTitle" SkinID="CaptionBold" runat="server" Text="<%$Resources:ifrsMenu,ConditionSearch%>" />
                </legend>
                <div align="center" class="table_detail">
                    <div class="rowinfo">
                        <div class="collabel_single">
                            <asp:Label ID="lblTransactionDate" runat="server" Text="<%$Resources:ifrsField,DATE_TRANSACTION%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo_single">
                            <asp:TextBox CssClass="datepicker" ID="txtTransactionDate" runat="server" SkinID="dateText"
                                onblur="datebox_onblur( this, event );"></asp:TextBox>
                        </div>
                    </div>
                      <div>
                        <div class="collabel_single">
                            <asp:Label ID="lblGroup" runat="server" Text="<%$Resources:ifrsField,FeeAndCostType%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo_single">
                            <asp:TextBox ID="txtFeeAndCostType" SkinID="L_TextBoxWithNoColor" runat="server"></asp:TextBox>
                            <asp:Button ID="btnFeeAndCostType" runat="server" Text="..." CausesValidation="False" />
                        </div>
                    </div>
                     <div>
                        <div class="collabel_single">
                        </div>
                        <div class="colinfo_single">
                            <asp:RadioButton ID="rbSTATUS_1" Text="<%$Resources:ifrsField,add%>" runat="server"  Checked="true"
                                GroupName="status" />
                            <asp:RadioButton ID="rbSTATUS_2" Text="<%$Resources:ifrsField,cancel%>" runat="server"
                                GroupName="status" />
                        </div>
                    </div>
                    <div class="rowinfo">
                        <div class="collabel_single">
                        </div>
                        <div class="colinfo_single">
                        </div>
                    </div>
                </div>
                <div class="colbtn">
                    <div>
                        <div>
                            <asp:Button ID="btnSEARCH" SkinID="NormalButton" runat="server" Text="<%$Resources:ifrsButton,SEARCH%>"
                                OnClick="btnSEARCH_Click" />&nbsp;
                            <asp:Button ID="btnCLEAR" SkinID="NormalButton" runat="server" Text="<%$Resources:ifrsButton,CLEAR%>"
                                OnClick="btnCLEAR_Click" />
                            &nbsp;
                            <asp:Button ID="btnCANCEL" SkinID="NormalButton" runat="server" Text="<%$Resources:ifrsButton,CANCEL%>"
                                OnClick="btnCANCEL_Click" />
                            &nbsp;
                        </div>
                    </div>
                </div>
            </fieldset>
            <div>
                <div class="colbtnAdd">
                    <div class="content_grid">
                        <asp:GridView ID="gvSearch" runat="server" CssClass="CSSTableGenerator" AllowSorting="true"
                            AutoGenerateColumns="false" AllowPaging="true" PageSize="10" 
                            OnSorting="gvSearch_Sorting">
                            <Columns>
                                <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                                    <HeaderTemplate>
                                        <asp:Label ID="lblgvSEQ" runat="server" Text="<%$Resources:ifrsField,CENTER_SEQ%>" />
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <%#Container.DataItemIndex+1%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="EIRID" Visible="false" />
                                <asp:TemplateField SortExpression="CreatedDate" ItemStyle-HorizontalAlign="Center"
                                    HeaderText="<%$Resources:ifrsField,DATE_TRANSACTION%>">
                                    <ItemTemplate>
                                        <asp:Label ID="lblgvTransactionDate" runat="server" Text='<%# Eval("CreatedDate", "{0:dd/MM/yyyy}") %>' />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField SortExpression="FeeAndCostTypeName" ItemStyle-HorizontalAlign="Center"
                                    HeaderText="<%$Resources:ifrsField,FeeAndCostType%>">
                                    <ItemTemplate>
                                        <asp:Label ID="lblgvFeeAndCostType" runat="server" Text='<%# Eval("FeeAndCostTypeName") %>' />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField SortExpression="ChangeStatus" HeaderText="<%$Resources:ifrsField,IsActive%>"
                                ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:Label ID="lblgvAccountNo" runat="server" Text='<%# Eval("ChangeStatus") %>' />
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </div>
                    <div class="content_paging">
                        <asp:Repeater ID="repPager" runat="server">
                            <ItemTemplate>
                                <asp:LinkButton ID="lnkPage" runat="server" Text='<%#Eval("Text") %>' CommandArgument='<%# Eval("Value") %>'
                                    Enabled='<%# Eval("Enabled") %>' OnClick="Page_Changed"></asp:LinkButton>
                            </ItemTemplate>
                        </asp:Repeater>
                    </div>
                </div>
            </div>
        </div>
    </div>
     <asp:HiddenField ID="hidFeeAndCostType" runat="server" />
      <script src="../Content/js/Currency.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.core.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.widget.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.datepicker.js" type="text/javascript"></script>
    <script src="../Content/plugins/custom.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $(".datepicker").initDatepicker();
        });
    </script>
</asp:Content>

